import React, { Component } from "react";
// 组件
import MainLayout from "@component/mainLayout/mainLayout";
import Button from "@component/button/index";

import yhTools from "@/tools/yh";

import "./inSign.scss";

import icon from "@images/imageXHB/b-is-icon.png";

/**
 * 描述：
 * 作者：zenghq
 * 日期：2021-03-15
 */
class inSign extends Component {
	constructor(props) {
		super(props);
		this.state = {};
	}
	/*******************生命周期 start************************/
	componentDidMount() {}
	componentWillUnmount() {}
	/*******************生命周期 end************************/

	/*******************业务方法 start************************/
	/*******************业务方法 end************************/

	/*******************点击事件 start************************/
	backClick = () => {
		yhTools.closePage();
	};
	/*******************点击事件 end************************/

	/**渲染 */
	render() {
		const _pageParams = {
			header: {
				title: "支付签约",
				goToApp: true
			},
			history: this.props.history,
			cacheLifecycles: this.props.cacheLifecycles
		};
		return (
			<MainLayout pageParams={_pageParams}>
				<div className="ballance_in_sign-content">
					<i className="qy-icon"></i>
					<div className="text">支付签约中，请稍后…</div>
					<section className="footer-box">
						<Button onClick={this.backClick} className="button">
							返回
						</Button>
					</section>
				</div>
			</MainLayout>
		);
	}
}

export default inSign;
